export interface Level1Category {
  level_1_id: bigint;
  level_1_code?: string;
  level_1_name: string;
}

export interface Level2Category {
  level_2_id: bigint;
  level_2_code?: string;
  level_2_name: string;
  level_1_id: bigint;
}

export interface Level3Category {
  level_3_id: bigint;
  level_3_code?: string;
  level_3_name: string;
  level_2_id: bigint;
}

export interface Level4Category {
  level_4_id: bigint;
  level_4_code?: string;
  level_4_name: string;
  level_3_id: bigint;
}

export interface Level5Category {
  level_5_id: bigint;
  level_5_code?: string;
  level_5_name: string;
  level_4_id: bigint;
}

export interface Level6Category {
  level_6_id: bigint;
  level_6_code?: string;
  level_6_name: string;
  level_5_id: bigint;
}

export interface CategoryItem {
  id: bigint;
  code: string;
  name: string;
  level: number;
}

export interface CategoryResponse {
  items: CategoryItem[];
  total?: number;
}